Change repeat value