Updated views.
Added update action.
Added index action.