update version and user-agent