added support for updating the database.
added support for wiping the drupal cache during the update.