convert array to object and implement edit, #4