When element changes, update local vertices

Previously I was updating the local vertices on the update loop, but
this is a more fool-proof approach.