edit default cache dir
edit functions