change type row main in Person model