bug in the update script corrected