issue #867: added declaration in update vertex