failsafe for batches
use UpdateItem and dirty attributes to only update dirty attributes on existing items