changing the structure of the database

adding sub_id and revision.
n special