update department detail