Changing MEDIA_ROOT in Open edX not working

I want to change where my courses are exported to in open edx but I’m facing certain issues. I have tried changing my MEDIA_ROOT in edx-platform/lms/envs/ from /edx/var/edxapp/media/ to /edx/app/edxapp/edx-platform/media/ however the course is still being exported to /edx/var/edxapp/media/ instead of /edx/app/edxapp/edx-platform/media/ . I tried printing my MEDIA_ROOT in the studio shell and it shows that my MEDIA_ROOT has been changed to /edx/app/edxapp/edx-platform/media/ however it is still exporting the course to /edx/var/edxapp/media/ . Any help will be much appreciated.