warehouse: implement gerrit contract Update.

Change-Id: I793b75ce531e98c42bcab6b95d01861c81b19271