Fixing syntax error in update.