upgraded the model persistence