update Ranges