Update locationinfo.cpp