Upgrade kernel 4.19 to 5.4

Hi. I currently have kernel version 4.19.25 which I want to upgrade to 5.4.108. There are major changes in LUCI in the new version which breaks our old code (I've made lot of changes to LUCI including its template and themes.)

So, is there any way I can upgrade the kernel version from 4.19.25 to 5.4.108?

Regards,
Asif

Doesn’t we get this in 21.02 when that is done?

Sure, by flashing a snapshot (master) image.

Flashing will remove my custom LUCI changes. I tried different things and found that in new version model is defined as JS instead of Lua files so I've Luci files of old version.