rename department to root_department