add registerbeforedonate message