db sync for clinics