Update config function for daemon done, still testing to deternine if everything is working