update buld rule