Update selection/range replace