updated reducer processing