Updating target directory