update effect value method.