Fixing the Update_Configs Function