Updated the DB model

Upates according to the discussion at the last meeting
tnc-ba/strongTNC#56