fixed problems with object updates