update range numbers and scene ends