add paragraph to index, rem updates