adds before cache change event