Update ranges