Updates to activrecord types