update private method