added cache clear funtionality to CM