Automatic updating of labeling texts after modifications