move cartridges to db