Update AddLabel function.