update decorator