rewrite labels on change