update effect