updating title for every page