inserting to database (raw data)