added update and retrieve  test