Update document list to return array