update jps and sql