PY: generate update query and functor.
PY: adapt delete operations.
PY: more implementation for GUI.