editGroup = async options => {
  let { group_id, name, bio, isPrivate, dispatch } = options,
    group_type = isPrivate ? 'private' : 'public',
    action = new Action('.g_e_save_btn', true, 'sec_btn_disabled')

  action.start('Updating..')
  wait()

  let {
    data: { success, mssg },
  } = await post('/api/edit-group', { name, bio, group_type, group: group_id })

  success ? dispatch(updateGroup({ name, bio, group_type })) : null

  Notify({ value: mssg })
  action.end('Update')
}
Edit group
@param {Number} options.group_id
@param {Object} options
@param {String} options.name
@param {String} options.bio
@param {Boolean} options.isPrivate
@param {Function} options.dispatch