clear existing tags and categories before updating post.
also set published date on published post (and clear it if not published).