redraw path if updated