Effect of improved atmospheric opacities in modelling sub-Neptunes