Update the directory