Update has_group.rb