fix auto-update for 32u4 and fix style