set OnSupport assign function