Rename table names to model-based with update script