> ## Documentation Index
> Fetch the complete documentation index at: https://cometchat-013b37f0.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Upgrading From V3

Upgrading from v3.x to v4 is fairly simple. Below are the major changes that are released as a part of CometChat v4:

Please follow the [setup](/sdk/react-native/setup-sdk) instructions to upgrade to the latest V4 version.

## Dependency Change

### Chat SDK

<Tabs>
  <Tab title="JavaScript">
    ```bash theme={null}
    npm i @cometchat/chat-sdk-react-native
    ```
  </Tab>
</Tabs>

### Calls SDK

<Tabs>
  <Tab title="JavaScript">
    ```bash theme={null}
    npm i @cometchat/calls-sdk-react-native
    ```
  </Tab>
</Tabs>

## Change The Import Statements

Change the import statements all around the project.

### Chat SDK

<Tabs>
  <Tab title="JavaScript">
    ```javascript theme={null}
    import {CometChat} from '@cometchat/chat-sdk-react-native'; 
    ```
  </Tab>
</Tabs>

### Calls SDK

<Tabs>
  <Tab title="JavaScript">
    ```javascript theme={null}
    import {CometChatCalls} from '@cometchat/calls-sdk-react-native';
    ```
  </Tab>
</Tabs>
