Added ability to update area and perimeter.