fixed update script - update.packages