update backup and restore