sync jnect example with newest incquery and old maintencance branch