UPDATE mst_system_settings SET facility_name='%s',end_date='%s' WHERE facility_id = @facility_id;