changed a few minor bugs
updated db schema