update min height of messages