fixed array element updating problem in JSONConfiguration
add test cases