update title according to label in scaffold