fix for multiple updates in the same call to the controller