Department update: fix of relations