added self.hash update to pull from db.