Update SPQueries.java