updating excluding qid