regenerate package