add with update that works by using an array with an object that you can iterate over