code: public static com.liferay.commerce.product.model.CPInstance updateCPInstance(
  		com.liferay.commerce.product.model.CPInstance cpInstance) {
  		return getService().updateCPInstance(cpInstance);
  	}
docs: Updates the cp instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
  
  @param cpInstance the cp instance
  @return the cp instance that was updated