refactor deploy customerconfig