updating user agent string