marker logic update
mouse events update