switch to edit mode is working, next step, update DB