Update callbacks.cpp