update height
fix to edit functionality