update parameters when reaches the end but in track