changed my_threads and all_threads to comply with new schema