updating removeMin