add callback to all operations