Added feature to update the config.
Removed debugging informations.