added data into db