udpate object