upgrade the trampoline implementation