Fixed trim error in update.php.