change app cache and delete templates