static setter for user_agent