updates content xml bits so if it's called outside a web req it still executes.