No, it is not possible to change NHIF dependants online. You would need to visit NHIF office near you with the relevant documents.
Child (Birth Certificate)
Wife (Marriage certificate or Marriage Affidavit from advocate, commissioner for oaths)
Copy of your ID