#fixing the update script