Update Query.php

fix anti sql injection for multiples conections