bugfix patch
replace obj with arr
fixed bug issue#18
Merge pull request #19 from Traction-Creative-Services/bugfixUpdateLoop#18

Bugfix update loop#18