Added update masks.