write real field array to models