add progress and insert sqllite