Check publish_up and publish_down with published

Check publish_up and publish_down with published