rebuild record model