update highwatermark