updated document for multi-dim array and scalars