added backup for updating