fixing bug in wager update api request