escape should be the last step in updateSequences

@zhaar thank you for your help