Update activerecords.php