update sdk to new postreply interface