replace old min with new