Regenerate model