updated getlocation, timer every second