Removed unnecessary parameters in mode update method