undo changes on config and datasource