Added update command to querybuilder