Finished Updating .dao to close connections