Added method for changing a polygon after it has been created