update folders and logs dir