updating views and controllers