updating the pages, handlers and views