insert a new object the object type can be user group document or anchor depending on the type other object attributes has to be set the parameter array contains the required elements object and content if the object is a document and the optional parameters parameters mode and attributeselector the object must contain all attributes of the object parameters is an object as well holding futher attributes like the destination attribute key is parent content is the content of the document mode can be a combination of the following flags 