Changes in hooks call