also update the min