Updated the metadata database for the web app

Some table relations have changed.