group update functino added