Making market with new memory storee

Hey,im making a market cross servers with MemoryStoreService and i have some problems on how to properly buy.
Here is my current script :

if val == "Buy" then
		local succes,errormess = pcall(function()
                       MarketStore:UpdateAsync(itemname,function(old)
                      -- Making verification like if have money etc and destroy item from market
                       end
		end)
                if succes then
                   local succes2,errormess = pcall(function()
                            PlayerAuction:UpdateAsync(sellerid,function(old)
                             -- deleting auction
                            end
                     end)
                end

end

the problem is like it can delete item from market but can’t Update PlayerAuction
(sorry for my bad english).
Have a nice day