modify GroupServiceImpl

code refactoring