Added store data to database.