Refresh the view after updating the range

Signed-off-by: Umair Khan <omerjerk@gmail.com>