update view automatically after stepping