update the user agent