only updates location when moving.