update groups & categories sample