update db restore code, changed deployment hook name