changed the database structure. saving details in child table now instead of json format.