change the callbacks