update lval struct