fixed NPE to updateLogger.
modified insert null when update not requierd config .