update build and a few other things