update actionMode