Rather than modifying the code of the conditional jump instruction, you can modify the results of the comparison before it by changing the EFlags registers.
On the top-right corner after the registers, you have multiple flags that you can change. Each flag represents a specific result from any comparison (other instructions change these flags as well). For example, ZF represents if the two values are equal or a register became zero. By changing the ZF flag, you force conditional jumps such as jnz and jz to jump to the opposite branch and force the change of the execution path.