update jsql, added distinct method.