Created procedure for updating tag labels.