only update title if it changes