updated activeRecord