update build rules