How to update whatsapp with new apple ID
When the iPhone wasn't ereased before you got it, the whatsapp app belongs to the apple id used by your cousin.

The only ways to update whatsapp are deleting it (by holding the app and pressing the "X"-symbol) and download it again with your own apple id, or use the password that belongs to the old apple id.