added cache delete and page type update event to the sync method
Merge pull request #2207 from hdias/sync_page_types_files

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