Update elements group class