Added Parse Data code for database