Added update query.