Unzip the mattress cover completely.
Remove all of the mattress bladders and carefully place them on a clean floor or in a bathtub.
Remove both side foam edges and the upper foam edge from inside the mattress liner.
Place the new upper foam edge inside the liner and push it against the upper edge of the liner, then replace the side edges.
Return the mattress bladders to the cavity created by the foam frame. Straighten each bladder within the cavity, then zip the mattress liner back onto the frame.