regenerate ents when content is modified

Doesn't have tests yet, I still need to ask IT to add the method stub.