add interface and update service Provider and add api