Update code for effect changes.