upgrade generated client