Updated views and working in templates.