FBI director says tech investments are paying off