public function update()
{
try {
// Update group
return $this->redirectTo('admin_groups_edit')->withMessage('Group was updated successfully.');
// TODO: params
} catch (ValidationFailed $e) {
return $this->redirectTo('admin_groups_edit')->withInput()->withErrors($e);
}
}