added support for updating attributes that are composed of arrays or objects.