Removed duplicate department names while add or update