updating index and adding update_views
updating index and adding update_views and removed leading slashes