Updating new db trait and db schemas