Update MaxRepeatNo