update python upload file example