updating vertices at runtime