updated main layout with the family