updates orders and items