update conf taking some inspiration from preflow