change publish to return 200