Update publishing function for org mode 8.0