add a private api for service gateway to update handles