You can view the process here.
https://eshop.macsales.com/installvi..._hdd/iMac14-2/
Personally, I wouldn't bother. I once updated RAM to buy another year but once I finally upgraded the speed difference was night and day.
I ditched my iMac and moved to a MacBook Pro w/Ultrafine monitors.