adding code to response of create group API