user_updated event is defined by badgeslib, which expects an instance of stdClass