update pat