modified the files related to multi master server