#449 Refectored update config methods

Please, review.
Please remove the spaces (see other methods with many parameters)