amend the directory