Update config variables y cache in database level