Publish callback working