Only rebuild when there are updates