They wrote a new constitution that included provisions that required them to completely and explicitly ban slavery. This was because the Federal government made all states add that to their constitutions since slave states didn't have such provisions in their constitutions. They added it and the constitution was ratified and is in use today with amendments.