Text edits; add DB update statement