Add elements in object and metadata