Add back the UnitOfWork wrapper around UpdateAttribute.  It's required, or an error will occur when adding attributes due to the FileType and Attribute using different dbContexts.