Add sentence hook to refresh the entity on each sentence