update build rule