removed auto publish and added publishing