validation and uploading  completed