added upsample to export list
added upsample function