updated views and html templates