update to set interval