accept edits and update todos