update_post_meta() will call add_post_meta() automatically if the key doesn't exist

Cleans up that section a bit and will save some queries when saving a post.