modifying markup to fit editable group specs