The outdated family law on child custody is set for a radical overhaul, with the focus on "joint responsibility" for children following a divorce and greater rights for offspring.