Update config file when client disconnect