notice about hooks being deprecated