regeneration of all the doc