add and format notes index