Changes on legend