add sudo to sed operations

sed missing sudo for editing config values