add publish to app-mongo-model.