@Indexable(type = IndexableType.REINDEX)
	@Override
	public CPInstance updateCPInstance(CPInstance cpInstance) {
		return cpInstancePersistence.update(cpInstance);
	}
@ Indexable ( type = IndexableType . REINDEX ) @ Override public CPInstance updateCPInstance ( CPInstance cpInstance ) { return cpInstancePersistence . update ( cpInstance ) ; }
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