updating code for sending group report