Inserted dataa to database. Minor changes