Update Geometry Defense Code