Bug fix: Updating resource should use

 <category term="namespace.entitytypename" />
not
 <category term="namespace.collectionname" />