added back publish ajax calls