updated db schema, and setup script