Set data to database is complete