Fixed a bug in the view update stuff i changed