updating group functions