Update and clean configs