Update distances on upcoming toggle
made by and fork me