apply config on deploy