updated add method to keep existing ids