update the full database