Bugfix updating nested arrays