fix: resize when updated