update effect class.