added the geometry updating API