set publish to true