fix query for encoding display in view edit
make view/edit updates persistent