updates date and page title