Update q.c