update folder pattern and license