Publishes new post (and updates other stuff in general)