Fix for old marker in update mode as well as create mode

Previously fixed create mode to work with the older markers.
Now make that sed expression more compact and fix update mode
as well.  Not yet tested.