Add model required option & getting cached db