Update dualpal.cpp