code: private void update(GeometryIndex index, boolean moveToBack) {
  		try {
  			VectorObject shape;
  			if (index == null) {
  				shape = nullShape;
  			} else {
  				shape = shapes.get(index);
  			}
  			if (shape != null) {
  				// We don't consider position at this point. Just style:
  				ShapeStyle style = styleFactory.create(editService, index);
  				GeomajasImpl.getInstance().getGfxUtil().applyStyle(shape, style);
  
  				// Now update the location:
  				shapeFactory.update(shape, editService, index);
  
  				// Move to the front if requested:
  				if (moveToBack) {
  					container.moveToBack(shape);
  				}
  			}
  		} catch (GeometryIndexNotFoundException e) {
  			throw new IllegalStateException(e);
  		}
  	}
docs: ------------------------------------------------------------------------