Added update query