update title and html