add type property, make id a uuid instead of incrementing integer