Formatting source
Added dummy attrDict. Fixed update processing for embedded docuemnts