updated dependencies and fixed params being passed to hooks