Update geometry.js