update refs in index,jsp