updated all ranges and planes