implement parent checkbox and their children checkbox