make title editable and persist to db