SQL dump and edit changes