updating emtpy directories needed