Rolled back the changes for offline upload