[fix] Database models

* Fixed old deprecated method names