redraw after vertex label change and refactor