I just solved my issue. Apparently after the upgrade and restart, the interface names used by Opnsense in wg (wg5, wg6) got changed to wg2, wg3. Due to this change, in the Interface->Assignments section, wg5, wg6 was mentioned as missing. I only had to select the appropriate new names, wg2 and wg3, apply changes. Now all started to work without any issues and the wg tunnels are now up and running.