upload section for the restore function