I think laboratory should have a queue. That way you can farm elixir and upgrade all your troops at once and they would upgrade according to the time and their position in the queue. It would basically work as a barrack but instead of making troops you would upgrade them.

