added hooks for before and after load data table