Fuel gauge finally works, but only briefly

i finally got around to replacing my sending unit today. once it was installed i turned the key on and was thrilled to see the needle move up to quarter of a tank.......then it slowly went back down to where it always was (below empty). every time i turn the key on the needle comes back up, but then the same thing....it goes back down. anyone know what would cause this?