Regenerated model according to db