update the range mod when change the distance