Update coordinate.cpp