Fixing Bash Script - Update Specific Line with `grep` and `sed`