add/remove multiple ranges at once