Added update/edit option.

Change-Id: I941a97db349009d6ebc3ba283570803eea644408