modify the callback prop