I have updated the logic for the publisher creation, from the API.