Replaced debugging message with variable initialization
Changed UpdateConfig function name to updateConfig
Code Improvements based on findbugs