Update the maps and targets according to complete script