remove autopublish and add publication