update palsquare