Added updatejump code