Added status setting to success case in upload.