Fix retrieval of updated id

Change-Id: I0821f3d93279556189563b4746d6aea4fd341a8f