update for donate 1.7