Changed taxonomy 'type' to 'department'

'type' is a reserved term that shouldn't be used in WordPress development