regenerate ents when content is modified