Update collection reduce example