Fixed issue in update.sql.