Add database converting