added guid as primary key to adopt new database schema