updated user_agent definition