added PK to a few tables and auto increment