Update array to object function.