Added functionality to rename domains