updating title to be dynamic