Save the first entity in a variable to be more efficient on updating a list of groups.