added view model for editing groups