Update units in bulk.
Currently when updating a list of units, each unit is stored individually. This can take quite a long time when updating many units (e.g. 80000).
Currently when updating a list of units, each unit is stored individually. This can take quite a long time when updating many units (e.g. 80000).