chang publish API based on new design