fix updateMarkersFromElements and use max for tag for internal faces