Update build rule