update old database