updating views bug