updating edit wager api function with documentation