Cache flush on data modification