To edit the department card: