The pre receive hook has exactly same function as update hook, one can deploy one or another, preferrably not both.