updated if element is present