It would be a good idea to do a step parent adoption, which would terminate your ex spouse's rights and allow your current spouse to adopt the children. If you were to pass away after the adoption, your current spouse would retain custody. You should also have a will prepared naming a guardian of your children. If you were to pass away your current spouse could petition the court for guardianship (this is without adoption).
This is for informational purposes only.
Sign up to receive a 3-part series of useful information and advice about child custody law.