updated tables
updated tables with restraints and keys