uncomment the code
update the index