Making the insert and update processes smoother.

Trying to imitate WP's behavior, when trying to update a post that
doesn't exist, create the post. When trying to create a post that
already exists, update it instead. I'm thinking this is the way to go.