update Vector Grid to vector API changes (fix #7322)