add a success flag in upload response