add partial publish API