representative repeat callback fuunction update array debug