thread db sync