change academic_code if state change in academic center edit page