regenerate old table