updates on resize now