Symbol updates for the while loop

followed if statement and merged symbol table in case condition is true and if false