updated database dependencies, minor tweaks