update has data method