update method
delete javascript effects