Update temporary directories