Update database.delete_credential