Update QueryBot and change permissions