Update location when changed