updating file directories