Set anonymous id if nil on update, get and rank calls
Set user agent with version number