when inserting a note, set its status