deleted old database and keys