Patch updating directory for m8