connect_update_view_metadata function

Updates the view metadata