lex-edit: use UPDATE instead of DELETE/INSERT combination