update ng and client