update html with title and subtitle