fixed bug in updating ansible instance config