Spin period evolution of GX 1+4