modified controller applybackup