Update setup

Align end variable inside the loop.