Updating hooks and hooktest.