Updated department controller to have Isactive col