api call method to clear cache of existsing key when update/delete is made