As result of the account update we get the updated AccountState back. There is no need to retrieve it from the account cache. If the account update returns an empty Optional it means that the account couldn't be updated because it was missing. Throw an exception in this case. Change-Id: Icdc23cc4abdb827d696f7c5e019421cdb9fab988 Signed-off-by: Edwin Kempin <ekempin@google.com>