update the filter hooks for the offline gateway