Updated code to support family law