fix build error and update client interface,not test yet