hook_replace() added to exchange