modify index to update title