add readings to db