Fix D6 vs D7 mix up in update hook