propoerly store changesets in database dir