Edited the legend