rebuild model based on what columns certain record has using mtcars as example