upgrade dough to version 3.1