Updates object