When I changed mine I waited until my tank was nearly empty, just so I didn't need to pull the whole assembly through all the fuel whilst removing it. Also, after I disconnected the electrical connector for the pump I turned the ignition over just to get any fuel out of fuel hose (probably not required though), then I removed the fuel hoses in and out of the tank. One you have a look it's pretty obvious what to do.