set document data from array