improved auto-update