updates the name of the hook to use