change callback to notify