updating title and alignment