Fixed updateLocation query.