update pupa and cache_dir settings