Update bundle
Add build_database method to models.