regenerate with newest head