update fonction upload;

Signed-off-by: AliceGarden <joanny.saillet@y-nov.com>