update ftp backup function