loop update and pkg bootstrap