Deleted.
What transaction mode has been set for your web script in its *.desc.xml file? I assume you forgot to set any, and as a result, your web script runs without any transaction, so that the calls to create() and putContent() each create their own versions since they are automatically transactional if no called as part of an already established transaction.