Updates user-agent string.