update version before sending query to servlet

COOL COOL COOL COOL COOL COOL