Fix the config object getting messed up on save and update map service attributes after save.