update decorator.md code blocks