update time using GPS information