updated value to be an object