update the directory information