convert old db - WIP