[NGRINDER-486] shorten auto-update code / fix lf problem