update the coordinate system.