updating CPM