Update upload image with ajax.