bug fix
add upload example to document