Updating Object_states