added changed checkbox status using db