When changing pool parameters, you regenerate the pool-registration.cert with the updated parameters, like this …
cardano-cli stake-pool registration-certificate \
--cold-verification-key-file /var/cardano/local/keys/pool/cold.vkey \
--vrf-verification-key-file /var/cardano/local/keys/pool/vrf.vkey \
--pool-pledge 10000000000 \
--pool-cost 340000000 \
--pool-margin 0.01 \
--pool-reward-account-verification-key-file /var/cardano/local/keys/spo/stake.vkey \
--pool-owner-stake-verification-key-file /var/cardano/local/keys/spo/stake.vkey \
--pool-owner-stake-verification-key-file /var/cardano/local/keys/hww/stake.vkey \
--mainnet \
--single-host-pool-relay relay01.astorpool.net \
--pool-relay-port 3001 \
--metadata-url http://astorpool.net/astorpool.json \
--metadata-hash "56342f6375b5658e1ecadc3b746a1cf7f95c83858d0e2161adc35a928dc3d65d" \
--out-file /var/cardano/local/scratch/pool-registration.cert
and then you submit that cert in a Tx without paying the deposit like this …
DEPOSIT=0
FEES_LVC=189657
REFUND_LVC=`expr $UTOX_LVC - $DEPOSIT - $FEES_LVC`
echo "$REFUND_LVC Lovelace"
SLOTNO=`cardano-cli query tip --mainnet | jq -c | jq ".slotNo"`
TTL=`expr $SLOTNO + 3600`
echo -e "SlotNo: $SLOTNO\nTTL: $TTL"
# Build raw Tx
cardano-cli transaction build-raw \
--tx-in $TX_IN \
--tx-out $PAYMENT_ADDR+$REFUND_LVC \
--ttl $TTL \
--fee $FEES_LVC \
--certificate-file /var/cardano/local/scratch/pool-registration.cert \
--out-file /var/cardano/local/scratch/tx.raw