added default values in db for active and deleted