edit blendfunction