added cache delete and page type update event to the sync method