update decoder to reflect encoding changes