update_cs_cf when select dept