fixed indexing on addnotes resource. added datetime and status to inserts.