replace instead of update on a vertex