update to latest hooks api