update model to reflect database