Thanks for the suggestion beittenec, will modify the Upgrade method in CCI manager,so that it will accept upgrade parameters and move the get_item_id_for_upgrade call to CCI manager.

The Hard coded values contain the ids for CCI parameters and they are fixed.
i compare the hard coded id and the value of the parameter to get the item_id for the parameter to be upgraded to.