adjusted settings modal to work with the new api changes