fix and update build