Fixing some bugs and adding possibility to update the configuration files if installation exists