Update upload.lua to fix store instead of get