added hooks when selecting demographics fields to be collected