As per EPF scheme rules, once you get married the previous nomination made by you automatically becomes invalid in your PF and EPS account.