update psuedocode format