update the user-agent field