added the case where the range keys were only being updated