Update wlc and change logic according to wlc changes.