Implement departments table in modify also