updated record_progress