put back cleanup of db on version change