Update function adjusts show marker.