Update interval.cpp