Some have replied that you cannot upgrade the memory. Others have said that if you read page 1 of the manual, it says that you can upgrade it to 16 gig. My interpretation of the manual is that, according to page 49, the motherboard is equipped with 2 memory slots under the memory cover. You have to look carefully at the drawing. The manual also cites part numbers for 4 gig, 8 gig, and 16 gig DIMM Modules. If the memory were soldered on, and thus not upgradeable, then why would they cite part numbers for DIMM Modules?? Also, the next diagram illustrates how to insert a DIMM module into a DIMM slot. So, yes you can upgrade it, and yes, if you selected (2) of the 16 gig modules, you could achieve 32 gig of total RAM capacity.
I will also include the link to the manual : http://h10032.www1.hp.com/ctg/Manual/c06615619