change logic for multisig