Make sure that the device is connected to the internet. The location of the device changes in the portal as soon as the agent syncs with the web console. Also, check if location services (GPS) of the device are on.