update to copy directories