update sessionstorage value after placing a bet