Perform some cleanup on the database update script
Add the ability to export Segments
Add v0.77.0 to CHANGELOG