Update media path in config