updated index and dao