[TASK] Update convert script to meet the actual database scheme