To update your custom nameserves in WHM login to your account using your cPanel username and password at http://yourdomain.com/cpenel where yourdomain is your domain name.
Scroll down to access the advanced menu. Where you click the WHM
In the opening window, you’ll choose the Server configuration.
In the next page write your nameservers in the specified fields.
Click on Save Changes and you have done it!