Bugfix: correctly update views