update comment height after user input