Implemeneted update hook, had to store the dataset url in a file

We now store the url of the dataset in a file in the home directory so that extract.py can access it when run from a hook.

Implemented and tested the update hook.