update some eval functions in eval.c