updatemodes - Script command