fixes #16, fixes #10; updates to elements in nested array objects now properly applied