optimistic locking for posts.