update vertex buffer