add events and methods to correctly sync map togethers