Hotfix: debug score plot code

This patch fixes a few errors in the score plot generation:
- the database path was hardcoded to the wrong directory; it now takes an
  argument (as I assumed it already did)
- the 'update' script now actually uses my directory structure.