Update the Obstacle class