Updated objects with returned data.

Entity and agent_token objects updated when saving to reflect state
returned by API.