update code to work with updated database models
.gitignore database files