Change `update` to handle gorouter submodule switch.

Signed-off-by: Kai Zhang <kaizhang@cn.ibm.com>