Update ladder.c