finish backend config database