update decode ways