Bug fix: loop increment of entity version.
It is possible to update layer in MongoDB and small changes.
 - Better setting of saved_version
 - More reliable updating of tag group