Batchupdate

Resolve when all is succefully stored. Instead of when last is stored