added data to database