finish autologin and update img