Updated Department class