computing prenex form update