fix(hooks): fixing update hooks