add index to updated_time and created_time