small update for the callbacks

Signed-off-by: Delian Delchev <delian.delchev@gmail.com>