save directories changed