seq_update_multiple_time created to reduce the number of line in the function