updates for batch