wip
Department update: fix of relations