Update Record.php

Add fromArray()