implemented directory renames