Update remote file with correct variable