updates to database - new schema with indexes!  (more still needed)