Fix issue 246, "git update" is wrong