remove autopublish and add subscription