Update compile and detect