use uuid as primary key and add index for location