improved range updates, working on data