Update Q file