Fixed TentStorage updating to database correctly.

Set variable "ObjectUID" to all objects.
If it's a tent, set variable "ObjectID" = "0".