Update db.xml
Added some backend logic, add db cols