Added support to batching updates