Updating the title and the main page