simple udpates to json/array handling