database update: models and model resources.

update database tables, and new models to tables, and new model
resources to models.