State updated at the end of enum so that no inconsistencies with already downloaded documents arise.