Updated has method