fixed regression with XmlFileCache
fix for withheld elements

some extra checks to make sure only editors can update metadata