Make it possible to modify instructions
Bugs of params chooser: should take the params of new instruction instead of old instruction