updated db functions to reflect new improved version of weather database.