adding legend to update year being shown