Code

Also call end_update for views with custom open function