How to change custom post type slugs

A default service page link look like this;

vets-wp.wp4life.com/vetsservices/medical-care/

and a default team member link look like this;

vets-wp.wp4life.com/vetsteam/maria-black/

As you can see there are some static words in the links. If you want to change these words;

1) Go to Plugins->Editor

2) Select “Vets Features” plugin

3) Open “service_cpt.php” file

Screenshot_1

4) Find the following code;

'rewrite' => array( 'slug' => 'vetsservices', 'with_front' => false ),

5) Change only “vetsservices” word with any other word (use only latin characters) like on the following;

'rewrite' => array( 'slug' => 'ourservices', 'with_front' => false ),

6) Click Update File button

7) Do the same thing for “ourteam_cpt.php” file (Don’t use the same word, each slug must be unique)

Screenshot_2

8) Finally go to Settings->Permalinks and click “Save Changes” button without changing anything.

Screenshot_3