Update q reference