update height of widget