update quality script