fixing resize to only send one final update at the end