Upgrading packages is generally not recommended for most users, because a typical OpenWrt system stores the base system in a read-only SquashFS partition.
...............
Thus, instead of upgrading, reflashing OpenWrt with a newer firmware image is recommended.