Update title attribute