Update sftp and ftp mount function