Change active record by orm