wait for update set_record and insert_record method