make addorUpdate private