Update orderByDistance