Update pass-gen