added edit wager route to api