updated a line in queue