updating label in index