redraw markers when template updated