update order of groupId