How do you replace a fuel pump on a 1997 subaru impreza wagon?

its in the boot under the carpet by the back seat undo outer cover with 4 screws then there is a few 8mm screws plus the pipes ontop of the pump but before you undo the 8mm bolts release the presure first by undoing the petrol cap.