Update gps.cpp