fixed a few bugs in master node syncing
Endpoint sets are now updated at master nodes on changes in the network