update flat prior