update options for upload