added uploading of data in request case