Add login to update script