loading progress for when inserting into db