python update object from dictionary,"setattr(self, key, value)"