update for appliy to group