updating views and urls