Update longupload to fix warehouse storage bug. fixes #1670