app: update only "units" in AddUnits

Fix #322.
app: update only "units" in RemoveUnits

This approach is safer.

Fix #323.
app: update only "units" in RemoveUnit

Related to #322 and #323.