Rename options to legend and update