Made numerous changes to database

Made numerous changes to database.