Finish add group to document