added query helpers and updated package versions