update upload example
fix up the example and make it harder to mess up