updated the references of some hooks in the system