Effects of superstructure environment on galaxy groups