fix stepdivider and add seq_update_track to cut down function size