Regenerate patches