updated code on donate