updates intervals