adds formatting to group edit