changed Vertex type name and added update function
working on fields
modified field design