updateSize() and updateGeometry() can't be reimplemented, make them