update placeholder index