update the effects