change the return value from uploading image