增加hooks